package com.kede.api.level.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * 任务模板详情查询返回对象
 * 2024-02-04 11:49:24
 *
 * @author makejava
 * @version 1.0.0
 **/
@Data
@ToString
@NoArgsConstructor
@ApiModel(value = "SyMissionTempVO", description = "任务模板详情查询返回对象")
public class SyMissionTempVO {

    @ApiModelProperty(value = "${column.comment}", name = "id")
    private Integer id;

    /**
     * 任务分类标识
     */
    @ApiModelProperty(value = "任务分类标识", name = "category")
    private String category;

    /**
     * 任务图标
     */
    @ApiModelProperty(value = "任务图标", name = "icon")
    private String icon;

    /**
     * 1单次任务 2多次任务
     */
    @ApiModelProperty(value = "1单次任务 2多次任务", name = "type")
    private Integer type;

    /**
     * 1正常 0异常
     */
    @ApiModelProperty(value = "1正常 0异常", name = "status")
    private Integer status;

    @ApiModelProperty(value = "${column.comment}", name = "isDel")
    private Integer isDel;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "${column.comment}", name = "created")
    private Date created;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "${column.comment}", name = "updated")
    private Date updated;
}

